<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<link type="text/css" rel="stylesheet" href="{TPL}css/NewTopFoot.css"  />
<link type="text/css" rel="stylesheet" href="{TPL}css/ShoppingCart.css"/>
<script src="{TPL}js/jquery-1.4.1.min.js" type="text/javascript"></script>
<script type="text/javascript" src="{TPL}js/wdggcGobal.js"></script>
<title>{lang m_my_cart}</title>
</head>
<body>
 <form name="ctl00" method="post" action="{url_payconfirm.php}" id="ctl00">
 
<div>
<input type="hidden" name="__PAYDATA" id="__PAYDATA" value="{$paydata}" />
<input type="hidden" name="pay123" id="pay123" value="{$paydata}" />
</div>

{template 'header'}

<div class="center" style="padding-bottom: 100px;">
  <div class="weizhi"> <b>{lang m_location}：</b><a href="{url_m.php}">{lang u_member_center}</a><span>&gt;</span>{lang m_cart_checkout_confim} </div>
  <div class="lc_two"> <img src="{TPL}images/donghua.gif"> </div>
  <div class="pay_bt">
    <ul>
      <li class="w1">{lang m_post_shop_list}</li>
      <li class="w2">{lang s_price}</li>
      <li class="w3">{lang s_num}</li>
      <li class="w4">{lang s_total}</li>
      <li class="w5">{lang s_national_ship_fee}</li>
    </ul>
  </div>
  <div class="product_2">
  {eval $i=1}
  {loop $temparray $sname $value}
    <table>
      <tbody>
	  {loop $value $key $r}
        <tr>
          <td class="p1"> {$i}
            <input type="hidden" value="{$r['gid']}" name="gids[]">
          </td>
          <td class="p2"><a target="_blank" href="{$r['goodsurl']}"> {$r['goodsname']}</a> </td>
		  
          <td class="p3"> {lang s_price_ext}{$r['goodsprice']} </td>
          <td class="p4"> {$r['goodsnum']} </td>
          <td class="p5"> {eval if($r['type']==1)echo "{lang s_price_ext}".$r['goodsprice']*$r['goodsnum'];else echo "[{lang s_help_send_goods}]"} </td>
		  
		  {if $key==0}
          <td rowspan="{eval echo count($value)}" class="p6">{lang s_price_ext}{$s[$sname]} </td>
		  {/if}
        </tr>
	{eval $i++}
	{/loop}
        <tr>
          <td colspan="8" class="sj"> {lang s_seller}：<a target="_blank" href="{$r['sellerurl']}">{$r['goodsseller']}</a><span>{lang s_source_site}：{$r['goodssite']}</span> </td>
        </tr>
      </tbody>
    </table>
	{/loop}
	
    <div class="tixing"> {lang s_seller_ship_fee_instr}！ </div>
    <div class="payment">

      <dl>
        <dt>{lang m_all_goods_total}<span>{lang s_price_ext}{$countdata['goodsmoney']}</span>&nbsp;+&nbsp;{lang s_total_ship_fee}<span>{lang s_price_ext}{$countdata['sendmoney']}</span></dt>
        <dd> {lang s_total_need_pay}<span>{lang s_price_ext}{$countdata['totalmoney']}</span></dd>
		<br />
       <dd>{lang m_ship_ty}:<span>{$deliver_using1}</span></dd>
      </dl>
	  
    </div>
    <div class="tijiao" style="padding-bottom: 10px;">
	{if $_USERS['money'] < $countdata['totalmoney']}
      <p> {lang m_accout_not_enough}！</p>
	{/if}
      <a href="{url_shoppingcart.php}">{lang m_back_cart}</a>
      <input type="submit" value="{lang m_confirm_post}" class="ok" onmouseout="this.className='ok'" onmouseover="this.className='ok_'" {if $_USERS['money'] < $countdata['totalmoney']}disabled="disabled"{/if} />
    </div>
	
      <div class="yuer" style="float:right">
	  
      <div class="btn_topup" align="center" style="float:right">
      
      <a target="_blank" href="{url_m.php?name=rmbaccount}">{lang m_recharge_now}</a></div>
	  <br>
	  <div style="
    float: right;
    margin-right: -20px;
	padding-top:10px;
">
	  {lang s_rmb_accout_left}：<b>{lang s_price_ext}{$_USERS['money']} </b></div>
      
      </div>	
  </div>
</div>
 </form>
{template 'footer'}
</body>
</html>
